package com.hig.ledger.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 应急救援物资清单对象 ledger_relief_materials
 * 
 * @author scp
 * @date 2024-09-22
 */
public class LedgerReliefMaterials extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 物资名称 */
    @Excel(name = "物资名称")
    private String materialName;

    /** 型号/规格 */
    @Excel(name = "型号/规格")
    private String specificationAndModel;

    /** 配备数量 */
    @Excel(name = "配备数量")
    private Long quantity;

    /** 配备单位 */
    @Excel(name = "配备单位", dictType = "sys_unit")
    private String unit;

    /** 存放位置 */
    @Excel(name = "存放位置")
    private String storageLocation;

    /** 检查结果 */
    @Excel(name = "检查结果")
    private String inspectionResults;

    /** 物资类型 */
    @Excel(name = "物资类型", dictType = "material_type")
    private String materialType;

    /** 备用 */
//    @Excel(name = "备用")
    private String remarkSpare;

    /** 备用1 */
//    @Excel(name = "备用1")
    private String remarkSpare1;

    /** 备用2 */
//    @Excel(name = "备用2")
    private String remarkSpare2;

    /** 部门ID */
//    @Excel(name = "部门ID")
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMaterialName(String materialName) 
    {
        this.materialName = materialName;
    }

    public String getMaterialName() 
    {
        return materialName;
    }
    public void setSpecificationAndModel(String specificationAndModel) 
    {
        this.specificationAndModel = specificationAndModel;
    }

    public String getSpecificationAndModel() 
    {
        return specificationAndModel;
    }
    public void setQuantity(Long quantity) 
    {
        this.quantity = quantity;
    }

    public Long getQuantity() 
    {
        return quantity;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setStorageLocation(String storageLocation) 
    {
        this.storageLocation = storageLocation;
    }

    public String getStorageLocation() 
    {
        return storageLocation;
    }
    public void setInspectionResults(String inspectionResults) 
    {
        this.inspectionResults = inspectionResults;
    }

    public String getInspectionResults() 
    {
        return inspectionResults;
    }
    public void setMaterialType(String materialType) 
    {
        this.materialType = materialType;
    }

    public String getMaterialType() 
    {
        return materialType;
    }
    public void setRemarkSpare(String remarkSpare) 
    {
        this.remarkSpare = remarkSpare;
    }

    public String getRemarkSpare() 
    {
        return remarkSpare;
    }
    public void setRemarkSpare1(String remarkSpare1) 
    {
        this.remarkSpare1 = remarkSpare1;
    }

    public String getRemarkSpare1() 
    {
        return remarkSpare1;
    }
    public void setRemarkSpare2(String remarkSpare2) 
    {
        this.remarkSpare2 = remarkSpare2;
    }

    public String getRemarkSpare2() 
    {
        return remarkSpare2;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("materialName", getMaterialName())
            .append("specificationAndModel", getSpecificationAndModel())
            .append("quantity", getQuantity())
            .append("unit", getUnit())
            .append("storageLocation", getStorageLocation())
            .append("inspectionResults", getInspectionResults())
            .append("materialType", getMaterialType())
            .append("remark", getRemark())
            .append("remarkSpare", getRemarkSpare())
            .append("remarkSpare1", getRemarkSpare1())
            .append("remarkSpare2", getRemarkSpare2())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("deptId", getDeptId())
            .toString();
    }
}
